package com.opo5.logisticsmanagement.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.opo5.logisticsmanagement.common.R;
import com.opo5.logisticsmanagement.domain.AutoTask;

/**
* @author lixin
* @description 针对表【tbs_auto_task】的数据库操作Service
* @createDate 2022-07-10 08:55:41
*/
public interface AutoTaskService extends IService<AutoTask> {

    R getAutoTaskByCondition(String reference, String status, Integer currentPage, Integer pageSize);
    public void executeAll();
    public void execute(Integer id);
    public void close(Integer id);
    public void closeAll();

    R addAutoTask(AutoTask autoTask);

    R editAutoTask(AutoTask autoTask);

    R delAutoTask(Integer[] ids);

    R switchAutoTaskById(Integer id);
}
